<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf"%>
<script type="text/javascript" src="${ctx}/js/equip/abolish/equip_edit.js"></script>

<script type="text/javascript" src="${ctx}/js/jedate/jedate.js"></script>
<script type="text/javascript">
$(function(){
	jeDate({
		dateCell:"#usedTime",
		format:"YYYY-MM-DD hh:mm:ss",
		isinitVal:false,
		isTime:true, 
		isClear:false,
		minDate:"2014-09-19 00:00:00"
	})
})

</script>
<link type="text/css" rel="stylesheet"
	href="${ctx}/laydate/theme/default/laydate.css" />
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}

label[class^="btn btn-default"] {
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/equip/abolish_editEntity.shtml">
		<input type="hidden" class="form-control checkacc"
			value="${equipabo.id}" name="abolishappFormMap.id" id="id">
		<section class="panel panel-default">
	
		<div class="panel-body">
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">设备名称：</label>
				<div class="col-sm-9">
					${equipabo.equipmentName}
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-sm-3 control-label">设备型号：</label>
					<div class="col-sm-9">
						${equipabo.equipmentModel }
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-sm-3 control-label">安装日期：</label>
					<div class="col-sm-9">
					<input type="text" class="form-control" placeholder="请输入已使用时间"
						readonly	name="abolishappFormMap.installDate"  value='${equipabo.installDate }'  >
						
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-sm-3 control-label">安装地点：</label>
					<div class="col-sm-9">
						${equipabo.position }
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-sm-3 control-label">供应商名称：</label>
					<div class="col-sm-9">
					${equipabo.supplier }
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-sm-3 control-label">已使用时间：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入已使用时间" id="usedTime"
							name="abolishappFormMap.usedTime" value="${equipabo.usedTime }">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-sm-3 control-label">价格：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control"
							placeholder="请输入价格" name="abolishappFormMap.price"
							value="${equipabo.price }">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-sm-3 control-label">备注：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入备注"
							name="abolishappFormMap.remark" value="${equipabo.remark }">
					</div>
				</div>

				<div class="line line-dashed line-lg pull-in"></div>

				<div class="form-group">
					<label class="col-sm-3 control-label">状态：</label>
					<div class="col-sm-9">
						<select class="form-control"
							name="abolishappFormMap.status">
							<option value="1" ${equipabo.status==1 ? 'selected' :'' }>正常</option>
							<option value="2" ${equipabo.status==2 ? 'selected' :'' }>删除</option>
						</select>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>

			</div>
			<footer class="panel-footer text-right bg-light lter">
			<button type="submit" class="btn btn-success btn-s-xs">提交</button>
			</footer>
		</section>
	</form>
</body>
</html>